<template>
	<view>
		<comptest :mag="pmsg" @myEven="getMsg"></comptest>
		<att></att>
		<btt></btt>
	</view>
</template>

<script>
	import comptest from '../../components/comptest.vue'
	import att from '../../components/a.vue'
	import btt from '../../components/b.vue'
	export default {
		data() {
			return {
				pmsg: '1',
			}
		},
		methods: {
			getMsg(res) {
				this.pmsg = this.pmsg+res
			}
		},
		components: {
			comptest:comptest,
			att:att,
			btt:btt
		}
	}
</script>

<style>

</style>
